refactor: split DOM bindings into focused feature modules#270
refactor: split DOM bindings into focused feature modules#270jderochervlk wants to merge 22 commits into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 49420e4362
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c526dd58cc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Refactors the WebAPI bindings so the large DOM surface is split into smaller feature modules and directories. This moves APIs like HTML, CSSOM, Geometry, WebAnimations, Window, XPath, Location, Navigator, FileList, DOMException, and related types out of the core DOM folder and into more focused source roots.
Adds feature dependency metadata to
rescript.jsonso the package can model relationships between split modules explicitly, while keeping public modules registered through the existingsourcesconfiguration.Updates docs and design notes for the new module structure, including global singleton access, API surface guidance, and the docs generator path handling for newly split source directories.
Testing
npm run format:checknpm run buildnpm testnpm run build:docs49420e4).